<?php $donvi=$this->donvi;?>
<form name="adminForm" method="post">
	<input type='hidden' name='task' />
	<input type='hidden' name='iddonvi' value='<?php echo $this->iddonvi?>' />
	<fieldset>
		<legend>Chi tiết đơn vị quản lý</legend>
		<table class="admintable">
			<tr>
				<td class="key">Tên</td>
				<td><input style="width:250px;" type="text" name="name" value="<?php echo $donvi->dvql_ten;?>" /></td>
			</tr>
			<tr>
				<td class="key">Địa chỉ</td>
				<td><input style="width:250px;" type="text" name="adress" value="<?php echo $donvi->dvql_diachi;?>" /></td>
			</tr>
			<tr>
				<td class="key">Số điện thoại</td>
				<td><input style="width:250px;" type="text" name="phone" value="<?php echo $donvi->dvql_dienthoai;?>" /></td>
			</tr>
			<tr>
				<td class="key">Email</td>
				<td><input style="width:250px;" type="text" name="email" value="<?php echo $donvi->dvql_email;?>" /></td>
			</tr>
			<tr>
				<td class="key">Miêu tả</td>
				<td>
				<textarea name="comment" rows="10" cols="50" ><?php echo $donvi->dvql_mieuta;?></textarea>
					<?php 
					$ed = &JFactory::getEditor();
					//echo $ed->display('comment',$donvi->dvql_mieuta,600,300,6,array());
					?>
				</td>
			</tr>
		</table>
	</fieldset>
</form>